#ifndef __OPERATION_
#define __OPERATION_

#include <opencv2/opencv.hpp>
#include <LiveWirer.hpp>

using namespace std;


void LWMouse(int event, int x, int y, int flags, void*);
void myMouse(int event, int x, int y, int flags, void*);
void WaterShedMouse(int event, int x, int y, int flags, void*);

extern cv::Rect rect;
extern cv::Mat src, roiImg, result;
extern cv::Mat glbImg, wsgloimg,imgmask,imgmaskshow;
extern cv::Point prePoint;
extern OCVLiveWire lw;
extern cv::Size labelsz;
extern std::vector<cv::Point> LWPath;

#endif